const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
module.exports = {
  publicPath: '/',
  devServer:{
    port: 8081,
    open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:8080',
        pathRewrite: {'^/api':''},
        ws: true,
        changeOrigin: true
      }
    },
    client:{
      overlay: false // 编译错误时，取消全屏覆盖（建议关掉）
    }
  }
}
